package com.lau.service.impl;

import cn.hutool.core.util.StrUtil;
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.lau.entity.SysMenu;
import com.lau.entity.SysOperLog;
import com.lau.entity.SysRole;
import com.lau.entity.SysUser;
import com.lau.mapper.SysOperLogMapper;
import com.lau.mapper.SysUserMapper;
import com.lau.service.SysLogService;
import com.lau.service.SysMenuService;
import com.lau.service.SysRoleService;
import com.lau.service.SysUserService;
import com.lau.utils.RedisUtil;
import com.lau.vo.BaseVo;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.stream.Collectors;

/**
 * <p>
 * 服务实现类
 * </p>
 *
 * @author Lau
 * @since 2023-11-18
 */
@Service
public class SysLogServiceImpl extends ServiceImpl<SysOperLogMapper, SysOperLog> implements SysLogService {

    @Autowired
    private SysOperLogMapper operLogMapper;

    @Override
    public Page<SysOperLog> pageLogs(Page<SysOperLog> page, BaseVo queryParams) {
        return operLogMapper.pageLogs(page,queryParams);
    }
}